-----------------------------------------------------------------------------------------------------------------------------------------
--处理
-----------------------------------------------------------------------------------------------------------------------------------------

function coA()
	while 1 do
		print("coA")
	end
end
function coB()
	while 1 do
		print("coB")
	end
end

local threadA = coroutine.create (coA)
local threadB = coroutine.create (coB)
coroutine.resume(threadA)
coroutine.resume(threadB)
